export interface MenuItem {
  id: number
  code: string
  name: string
  order: number
  type: string
  route: string
  children?: MenuItem[]
}

export interface Menu {
  id: number | null
  code: string
  name: string
  order: number
  remark: string
  type: string
  level: number
  pid: number
  route: string
}

 export interface MenuPageParams {
  page: number
  size: number
  name?: string
}

export const defaultMenu: Menu = {
  id: null,
  code: '',
  name: '',
  order: 1,
  remark: '',
  type: '',
  level: 1,
  pid: 0,
  route: ''
}
